package org.example.onetry.service.impl;




import org.example.onetry.dao.paqdao;
import org.example.onetry.service.studentservicec;
import org.example.onetry.user.users;

import java.util.List;

public class serviced implements studentservicec {
    private paqdao paqdao;
    public serviced() {
        this.paqdao = new paqdao();
    }
    @Override
    public List<users> querystudent() {

        return this.paqdao.queryall();
    }
    public users queryone(Integer id){
        return this.paqdao.queryone(id);
    }
}
